package com.bizihang.security.core.validate.code.generator;

import com.bizihang.security.core.validate.code.ValidateCode;
import org.springframework.web.context.request.ServletWebRequest;

/**
 * 验证码接口生成器
 *
 * @author 毕子航 951755883@qq.com
 * @date 2018/08/18
 */
public interface ValidateCodeGenerator {
	/**
	 * 生成验证码
	 *
	 * @param request
	 * @return
	 */
	ValidateCode generate(ServletWebRequest request);
}
